package com.mifengs.mall.di.module;

import com.mifengs.commonbase.di.scope.ActivityScope;
import com.mifengs.mall.ui.login.RetrievePasswordContract;
import com.mifengs.mall.ui.login.RetrievePasswordPresent;

import dagger.Module;
import dagger.Provides;

@Module
public class RetrievePasswordModule {
    public final RetrievePasswordContract.View mView;

    public RetrievePasswordModule(RetrievePasswordContract.View mView) {
        this.mView = mView;
    }

    @ActivityScope
    @Provides
    public RetrievePasswordPresent providePresenter() {
        return new RetrievePasswordPresent(mView);
    }

}

